using System;
using WWB.SitePointPrivateMessages.Core.Model.Messages;

namespace WWB.SitePointPrivateMessages.Web.Models
{
    public class MessageDetailsViewData
    {
        public MessageDetailsViewData(PrivateMessage message)
        {
            Message = message;
            if (message == null) throw new ArgumentNullException("message");
        }

        public PrivateMessage Message { get; private set; }
    }
}